﻿using Prism.Commands;
using Prism.Mvvm;
using System.Windows;

namespace WpfDemo.ViewModel
{
    public class MainWindowVM : BindableBase
    {
        public MainWindowVM()
        {
            HomeCommand = new DelegateCommand(() =>
            {
                MessageBox.Show("HomeCommand");
            });
            MovePrevCommand = new DelegateCommand(() =>
            {
                MessageBox.Show("MovePrevCommand");
            });
            MoveNextCommand = new DelegateCommand(() =>
            {
                MessageBox.Show("MoveNextCommand");
            });
        }

        public DelegateCommand HomeCommand { get; }
        public DelegateCommand MovePrevCommand { get; }
        public DelegateCommand MoveNextCommand { get; }
    }
}
